home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The School House• / Concentration 1.1 ••• / Concentration 1.1 еее / card_2380.txt < prev    next >
Text File  |  1990-10-07  |  10KB  |  397 lines

  1. -- card: 2380 from stack: in.1 –µ–µ–µ
  2. -- bmap block id: 3769
  3. -- flags: 4000
  4. -- background id: 2657
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on ToggleScore
  8.   set visible of card field "score 1" to not visible of card field "score 1"
  9.   set visible of card field "score 2" to not visible of card field "score 2"
  10.   set visible of card field "score 3" to not visible of card field "score 3"
  11.   set visible of card field "title 1" to not visible of card field "Title 1"
  12.   set visible of card field "title 2" to not visible of card field "Title 2"
  13.   set visible of card field "title 3" to not visible of card field "Title 3"
  14.   set visible of card field "Back of Score" to not visible of card field "Back of Score"
  15.   set visible of card field "title" to not visible of card field "title"
  16.   set visible of card button "score" to not visible of card button "score"
  17. end ToggleScore
  18.  
  19. on ShowScore
  20.   set visible of card field "Score 1" to true
  21.   set visible of card field "Score 2" to true
  22.   set visible of card field "Score 3" to true
  23.   set visible of card field "Title 1" to true
  24.   set visible of card field "Title 2" to true
  25.   set visible of card field "Title 3" to true
  26.   set visible of card field "Back of Score" to true
  27.   set visible of card field "Title" to true
  28.   set visible of card button "Score" to true
  29. end ShowScore
  30.  
  31. on HideScore
  32.   set visible of card field "Score 1" to false
  33.   set visible of card field "Score 2" to false
  34.   set visible of card field "Score 3" to false
  35.   set visible of card field "Title 1" to false
  36.   set visible of card field "Title 2" to false
  37.   set visible of card field "Title 3" to false
  38.   set visible of card field "Back of Score" to false
  39.   set visible of card field "Title" to false
  40.   set visible of card button "Score" to false
  41. end HideScore
  42.  
  43. On HideExplanation
  44.   set visible of card button "ExplDone" to false
  45.   set visible of card field "Explanation #4" to false
  46. End HideExplanation
  47.  
  48.  
  49.  
  50.  
  51. -- part 24 (button)
  52. -- low flags: 00
  53. -- high flags: 0000
  54. -- rect: left=0 top=0 right=312 bottom=512
  55. -- title width / last selected line: 0
  56. -- icon id / first selected line: 0 / 0
  57. -- text alignment: 1
  58. -- font id: 0
  59. -- text size: 12
  60. -- style flags: 0
  61. -- line height: 16
  62. -- part name: Background Button
  63.  
  64.  
  65. -- part 4 (button)
  66. -- low flags: 00
  67. -- high flags: A003
  68. -- rect: left=206 top=314 right=336 bottom=306
  69. -- title width / last selected line: 0
  70. -- icon id / first selected line: 0 / 0
  71. -- text alignment: 1
  72. -- font id: 0
  73. -- text size: 12
  74. -- style flags: 0
  75. -- line height: 16
  76. -- part name: New Game
  77. ----- HyperTalk script -----
  78. on mouseUp
  79.   global entrynumber, matches, score
  80.   set lockscreen to true
  81.   HideScore
  82.   HideExplanation
  83.   set lockscreen to false
  84.   set visible of card field "Wait Message" to true
  85.   set lockscreen to true
  86.   set visible of card field "Wait Message" to false
  87.   go next
  88.   shufflebuttons
  89.   set visible of card button "Shuffle" to false
  90.   set visible of card button "High Scores" to false
  91.   set lockscreen to false
  92.   wait 180
  93.   set lockscreen to true
  94.   repeat with buttonid = 1 to 60
  95.     set icon of background button buttonid to 0
  96.   end repeat
  97.   put 0 into entrynumber
  98.   put 0 into matches
  99.   put 0 into score
  100.   set lockscreen to false
  101. end mouseUp
  102.  
  103.  
  104.  
  105. -- part 5 (button)
  106. -- low flags: 00
  107. -- high flags: A003
  108. -- rect: left=4 top=314 right=336 bottom=104
  109. -- title width / last selected line: 0
  110. -- icon id / first selected line: 0 / 0
  111. -- text alignment: 1
  112. -- font id: 0
  113. -- text size: 12
  114. -- style flags: 0
  115. -- line height: 16
  116. -- part name: Go Home
  117. ----- HyperTalk script -----
  118. on mouseUp
  119.   go home
  120. end mouseUp
  121.  
  122.  
  123.  
  124. -- part 7 (button)
  125. -- low flags: 00
  126. -- high flags: A003
  127. -- rect: left=408 top=314 right=336 bottom=508
  128. -- title width / last selected line: 0
  129. -- icon id / first selected line: 0 / 0
  130. -- text alignment: 1
  131. -- font id: 0
  132. -- text size: 12
  133. -- style flags: 0
  134. -- line height: 16
  135. -- part name: Information
  136. ----- HyperTalk script -----
  137. on mouseUp
  138.   set visible of card field "Explanation #4" to not visible of card field "Explanation #4"
  139.   set visible of card button "Expldone" to not visible of card button "Expldone"
  140. end mouseUp
  141.  
  142.  
  143.  
  144. -- part 20 (field)
  145. -- low flags: 81
  146. -- high flags: 0004
  147. -- rect: left=14 top=23 right=294 bottom=494
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 0 / 0
  150. -- text alignment: 0
  151. -- font id: 3
  152. -- text size: 12
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: Back of Score
  156.  
  157.  
  158. -- part 10 (field)
  159. -- low flags: 81
  160. -- high flags: 2002
  161. -- rect: left=14 top=70 right=95 bottom=92
  162. -- title width / last selected line: 0
  163. -- icon id / first selected line: 0 / 0
  164. -- text alignment: 0
  165. -- font id: 251
  166. -- text size: 14
  167. -- style flags: 256
  168. -- line height: 18
  169. -- part name: Title 1
  170.  
  171.  
  172. -- part 12 (button)
  173. -- low flags: 00
  174. -- high flags: A003
  175. -- rect: left=307 top=314 right=336 bottom=407
  176. -- title width / last selected line: 0
  177. -- icon id / first selected line: 0 / 0
  178. -- text alignment: 1
  179. -- font id: 0
  180. -- text size: 12
  181. -- style flags: 0
  182. -- line height: 16
  183. -- part name: High Scores
  184. ----- HyperTalk script -----
  185. on mouseUp
  186.   set lockscreen to true
  187.   ToggleScore
  188.   set lockscreen to false
  189. end mouseUp
  190.  
  191.  
  192.  
  193. -- part 17 (field)
  194. -- low flags: 81
  195. -- high flags: 2002
  196. -- rect: left=281 top=70 right=95 bottom=492
  197. -- title width / last selected line: 0
  198. -- icon id / first selected line: 0 / 0
  199. -- text alignment: 0
  200. -- font id: 251
  201. -- text size: 14
  202. -- style flags: 256
  203. -- line height: 18
  204. -- part name: Title 3
  205.  
  206.  
  207. -- part 16 (field)
  208. -- low flags: 81
  209. -- high flags: 2002
  210. -- rect: left=91 top=70 right=95 bottom=282
  211. -- title width / last selected line: 0
  212. -- icon id / first selected line: 0 / 0
  213. -- text alignment: 0
  214. -- font id: 251
  215. -- text size: 14
  216. -- style flags: 256
  217. -- line height: 18
  218. -- part name: Title 2
  219.  
  220.  
  221. -- part 14 (field)
  222. -- low flags: 81
  223. -- high flags: 2002
  224. -- rect: left=14 top=23 right=68 bottom=492
  225. -- title width / last selected line: 0
  226. -- icon id / first selected line: 0 / 0
  227. -- text alignment: 1
  228. -- font id: 251
  229. -- text size: 28
  230. -- style flags: 256
  231. -- line height: 37
  232. -- part name: Title
  233.  
  234.  
  235. -- part 13 (button)
  236. -- low flags: 00
  237. -- high flags: A003
  238. -- rect: left=105 top=314 right=336 bottom=205
  239. -- title width / last selected line: 0
  240. -- icon id / first selected line: 0 / 0
  241. -- text alignment: 1
  242. -- font id: 0
  243. -- text size: 12
  244. -- style flags: 0
  245. -- line height: 16
  246. -- part name: Clear Scores
  247. ----- HyperTalk script -----
  248. on mouseUp
  249.   set lockscreen to true
  250.   put empty into card field "score 1"
  251.   put empty into card field "score 2"
  252.   put empty into card field "score 3"
  253.   set lockscreen to false
  254. end mouseUp
  255.  
  256.  
  257.  
  258. -- part 21 (field)
  259. -- low flags: 81
  260. -- high flags: 2002
  261. -- rect: left=14 top=91 right=292 bottom=92
  262. -- title width / last selected line: 0
  263. -- icon id / first selected line: 0 / 0
  264. -- text alignment: 0
  265. -- font id: 251
  266. -- text size: 14
  267. -- style flags: 256
  268. -- line height: 18
  269. -- part name: Score 1
  270.  
  271.  
  272. -- part 22 (field)
  273. -- low flags: 81
  274. -- high flags: 2002
  275. -- rect: left=91 top=91 right=292 bottom=282
  276. -- title width / last selected line: 0
  277. -- icon id / first selected line: 0 / 0
  278. -- text alignment: 0
  279. -- font id: 251
  280. -- text size: 14
  281. -- style flags: 256
  282. -- line height: 18
  283. -- part name: Score 2
  284.  
  285.  
  286. -- part 23 (field)
  287. -- low flags: 81
  288. -- high flags: 2002
  289. -- rect: left=281 top=91 right=292 bottom=492
  290. -- title width / last selected line: 0
  291. -- icon id / first selected line: 0 / 0
  292. -- text alignment: 0
  293. -- font id: 251
  294. -- text size: 14
  295. -- style flags: 256
  296. -- line height: 18
  297. -- part name: Score 3
  298.  
  299.  
  300. -- part 11 (button)
  301. -- low flags: 80
  302. -- high flags: 0000
  303. -- rect: left=14 top=23 right=295 bottom=495
  304. -- title width / last selected line: 0
  305. -- icon id / first selected line: 0 / 0
  306. -- text alignment: 1
  307. -- font id: 0
  308. -- text size: 12
  309. -- style flags: 0
  310. -- line height: 16
  311. -- part name: Score
  312. ----- HyperTalk script -----
  313. on mouseUp
  314.   set lockscreen to true
  315.   HideScore
  316.   set lockscreen to false
  317. end mouseUp
  318.  
  319.  
  320.  
  321. -- part 8 (field)
  322. -- low flags: 81
  323. -- high flags: 2004
  324. -- rect: left=44 top=47 right=251 bottom=455
  325. -- title width / last selected line: 0
  326. -- icon id / first selected line: 0 / 0
  327. -- text alignment: 0
  328. -- font id: 251
  329. -- text size: 12
  330. -- style flags: 0
  331. -- line height: 16
  332. -- part name: Explanation #4
  333.  
  334.  
  335. -- part 9 (button)
  336. -- low flags: 80
  337. -- high flags: 0000
  338. -- rect: left=44 top=47 right=251 bottom=455
  339. -- title width / last selected line: 0
  340. -- icon id / first selected line: 0 / 0
  341. -- text alignment: 1
  342. -- font id: 0
  343. -- text size: 12
  344. -- style flags: 0
  345. -- line height: 16
  346. -- part name: Expldone
  347. ----- HyperTalk script -----
  348. on mouseUp
  349.   set visible of card field "Explanation #4" to false
  350.   set visible of card button "Expldone" to false
  351. end mouseUp
  352.  
  353.  
  354.  
  355. -- part 15 (field)
  356. -- low flags: 81
  357. -- high flags: 0004
  358. -- rect: left=91 top=138 right=248 bottom=423
  359. -- title width / last selected line: 0
  360. -- icon id / first selected line: 0 / 0
  361. -- text alignment: 1
  362. -- font id: 251
  363. -- text size: 14
  364. -- style flags: 256
  365. -- line height: 18
  366. -- part name: Wait Message
  367.  
  368.  
  369. -- part contents for card part 8
  370. ----- text -----
  371.  
  372. Concentration is a game in which you must match pairs of icons by memory.  You are presented with a board containing 30 pairs of different icons, briefly, at the start of the game, after which the board is cleared.  By clicking in the appropriate squares, you must indicate where pairs of matching icons are located, scoring 2 points for each correct guess, and losing 1 point for each incorrect guess.  Your score is displayed at the end of the game, when all matching pairs have been found, or when you give up.
  373.  
  374. -- part contents for card part 14
  375. ----- text -----
  376. High Scores
  377.  
  378. -- part contents for card part 10
  379. ----- text -----
  380. Score
  381.  
  382.  
  383. -- part contents for card part 15
  384. ----- text -----
  385.  
  386.  
  387. Please wait while the board 
  388. is being generated...
  389.  
  390. -- part contents for card part 16
  391. ----- text -----
  392. Date & Time
  393.  
  394. -- part contents for card part 17
  395. ----- text -----
  396. Name
  397.